package org.csu.mypetstore.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.math.BigDecimal;

@Data
@Component
@TableName("cart")
public class Cart {

    private String userid;
    private String itemid;
    private String productid;
    private String description;
    private String instock;//是否有库存？
    private int quantity;
    private BigDecimal listprice;
    private BigDecimal totalprice;
}
